fix bug when no current_user on index