Added temporary code to test the saving of user profiles