Got authentication working and tested