adding check error message if user already registered