user registration exist bug fix