activates login/logout functionality with sessions.
Signed-off-by: Vinayak Patil <vinayakpat@cybage.com>