Modified Auth class to verify credentials