trying to add saving functionality and user accounts