Add get_session_index to auth class