okay, it actually now works, had to change post to query in profile controller