To realize the login interface