Added the login function, changed the info tag to login tag