Fixed a bug when deleting a Profile a ErrorMessage appears with Invalid token