Added session support. Began implementing auth.