refactors idea render function to check if a user exists before rendering any ideas at all
small bug fix. user now can update resource only if they are the resource owner