added login and logout, simple form which I don't really end up using, and tried to add columns and indexes for user_id in links but that wasn't working