Set layout for authentication