added functionality, changed font and error message css