fixed hibernate error caused by check if user already exists