Added auth module. More routes in main.js.