added session and users management