fix most of the login/register view pages