add authecation with locale and test
add tests to category controller