restyled html output and added devise error messages