changed all urls to localhost and invited events changes so that it turns purple if the status is IN