enhance the user login management