Got authentication working and most routes functional