add authentication and pins controllers