Changed user_created, user_enrolled and user_unenrolled to new API plus minor bugfix