modified the login interface