implemented archiving of user data