Sessions built

Did most of sessions/authentication