add messages into login page