In groups controller fixed bug. changed author_id to owner_id