Created methods to confirm if username exists in database