new login workflow -> method setCredentials