assert user is logged in after registration