Implemented a custom servlet for login page