Use python as programming language
Extracted text: PYsbook Create a facebook like application which uses an encrypted file that contains all the users and their information(database) of your application. When running the program, it loads/decrypts the content of your database file for login purposes. It repeatedly prints Menu Option 1 until exit. A User has the option to create an account or log in the application or exit. If the user chooses to create an account, he/she inputs the necessary information and the user input is automatically saved/appended in the file database. When saving the user information in the database, content must be encrypted. A User must log in before he/she can access the application menu options 2. Мели Оptions 1: O Create Account O Email addresses are unique, thus if the email address is already in the database, another user cannot use this email address for account creation. Notify the user if the account cannot be created when this issue arises. Log in O A user can only login if the database is not empty, else notify user that database is empty and accounts need to be created O Ask for the user's email address and password. If it matches, the user successfully logs in and Menu Options 2 is shown to the user. Else notify the user of password mismatch. Exit User Account information are as follows:
Extracted text: Age Email Address(unique, serves as ID of user) Password Bio User can do the following if logged in successfully (Meru Options 2): O Update password o Ask for the current password. If it matches, the user can change his/her password(don't forget to save in the file database the updated password), else notify the user of password mismatch. Update bio View own profile o Displays all information of current user (except for password) Add friend (friend to be added must be a valid user of the app or is in the database of the application) o Ask for the email address of the friend to be added, if it exists in the database, add in the friends list of the user else notify that user does not exist. o Adding of friends must be mutual, meaning if user added friend1, then user should also be added to the list of friends of friend1 (Unfriend) Delete a friend from the user friends list o Ask for the friend's email address, if it exists in the friends list of the user then delete the friend from the friends list of user, else notify the user that friend does not exist. o Deleting of friends must also be mutual, meaning if user deleted friend1, then user must also be deleted in friend1's friends list. View all friends o Simply print the names of user's friends View friend's profile o Ask for friend's email address Prints friend's information(except for password) if it exists in friends list, if not in the friends list, notify user. Delete all friends Ask for the user's password for confirmation before deleting all friends. If the password mismatch, the user cannot delete all friends. Log out