Make authorization section nicer, fix settings bugs