Added session module for use of secure cookies
Added some tests. still getting errors though