added the implementation of the login page