minor fix for alert on accunt successful update
Added error messages for invitation page.