credentials.py
def user_auth(cls,username,password):
        '''
        Method that takes in a username returns true if it matches a user in the users_list.

        Args:
            username: username of the user being searched
        Returns :
            User whose credentials match the entered credentials.
        '''
        for user in User.users_list:
            if (user.username == username and user.password == password):
                active_user=user.username
        return active_user

        Method that takes in a username returns true if it matches a user in the users_list.

        Args:
            username: username of the user being searched
        Returns :
            User whose credentials match the entered credentials.
        
Method that takes in a username returns true if it matches a user in the users_list.
Method that takes in a username returns true if it matches a user in the users_list .
def user_auth(cls,username,password):
        for user in User.users_list:
            if (user.username == username and user.password == password):
                active_user=user.username
        return active_user
def user_auth ( cls , username , password ) : for user in User . users_list : if ( user . username == username and user . password == password ) : active_user = user . username return active_user
Method that takes in a username returns true if it matches a user in the users_list.
Method that takes in a username returns true if it matches a user in the users_list .
'''
        Method that takes in a username returns true if it matches a user in the users_list.

        Args:
            username: username of the user being searched
        Returns :
            User whose credentials match the entered credentials.
        '''
cls
username
username of the user being searched
username of the user being searched
password