[Front-end] Adding logic to process creating an activity, also modified sanitize tool to take in strings