checking whether user already exist or not.