Adding session fetching code
Starting/ending the session (code behind login/logout)