finish layout for authentication