refactored get_activities_list to include both GET and POST actions
fixing merge conflicts
put both GET/POST requests into get_activities_list
fixing conflicts