Adding auth to crud.