created checkExisting method to find nickname, email address, and password of a user