login/register views fixes