Manage error messages in profile page