login in every public pages