Add registration date to activities and fix some bugs