got basic routing and authentication working