Improved loading time of login page