add auth and ajax views