Login

Finally finished and working authentication