fix error when no current_user login