checks if user exists before adding them