Deleted user authentication from main function and moved to login function from utils.py module.