def set_username():
    """
    Set and validate the username
    :return: string
    """
    username = input('Enter your Oracle Commerce Cloud backend username: ')
    while True:
        if len(username) >= 3:
            return username
        else:
            username = input(
                'Enter your Oracle Commerce Cloud backend username: ')
