added messages for login form