linked the login and second screen