Single layout for login on iPhone and iPad