Created API to manage session of admins - login, logout actions.