finished basic authentication structure and test route