Implemented authenctication

And it FUCKING WORKS! WOOOOO! (so much better than the time I tried to use the wrong docs to produce this app...)