Added basic authentication to some routes