Fix NilClass of current_user when no user login