improved responsiveness of authentication layout