Changed the input of deleteProfile to string