Re: how to avoid this
== I got this two login forms and link to registration page on two side bars ==
Open up one of your sidebar templates and remove the login form. Looks strange to have two.
== how can I redirect this I mean logging out in any shape or form to redirect to registration page. ==
WP Codex is your friend https://codex.wordpress.org/Function_Reference/wp_logout_url