Integration with moodle, changes on login, logout, flow, js for trigger logout in q2a when user logs out moodle