Add basic authenticate controller