authentication and username login complete