Added Sessions

Now Uses session cookies for authentication