added the ability to delete an account and delete avatars, also removed un-used code