work on login complete