added profilepersistance class