worked with user register with spring mvc and hibernate