Logic and conditional link for login/logout
Protecting datasets controller; setting up user association at runtime (doesn't work tho)
Removed redundant user_id column
Fixed database HABTM situation