updated error message form to show correct password field
updated to include the messaging module