optimize settings:remove admin, and change session backend to cookies