Public keys need a way to be stored in the database and retrieved from the database. Public keys need to be associated with a user account.