Registration working properly with MySql Server persistence storage