fixed bugs with error messages window on edit user page