Added brackets
Added AuthConfig Class and hook