fixed display bug on register page and colored all error messages
fixes #7