Got login/register working