setup devise gem.
add devise to user model.
setup link model.
complete CRUD on link model.