changed location of error messages to be compatible with bootstrap theme