used bootstrap for error msg instead of css