add sesseions api
add registrations api