added settings authorization
switched layouts for loged in