implementing authentication
test get model struct with auth