fixed session

the problem was after registering I wasn’t setting the current_user.