I've resolved some persistance conflicts.

MySql has a keyword User, there for the class User is changed to StdUser.
Date type is changed to Timestamp.