Added logout also moved login/register