user is logged in after registration; returned user on registration