added check if user already exists