Use devise to add user login to your app.
Add User associations to each of your models. This is only a simple foreign key relationship for each model in your app. (belongs_to, has_many)
Restrict users from editing things that don't belong to them.