AT LAST fixed character encoding issues on registration page, and ajax validation was extended.
also registration form now uses validation too.
char encoding. to fix issue with it i was needed to add encoding filter to web.xml and add two params to DB connection URL