improve login/register form's
replace redirection with render template
fix 536d3d4