User register using mysql - server side