started working on sessions & API