starts to build the login process