added beginnings of sessions and signin/out