started adding a cookie based server

i hope this works