Handling when user is NoneType