moved sessions to api.go