fixed create events

backend change php file., now idProfile and token in url