added warning message on main page