Added strtolower for user auth method