fix current_user problem when not logged into index