Added if statement to only add ratings for correlations above 0
Moved 'connect' function to top of file, moved contents outside of function. Set db_session with scoped_session
Finished moving connect() function contents to top of file. scoped_session allows thread-safe global vars. no longer need to instantiate Session() because now we have session object that is always connected
Insert predicted_rating into view_movie function, remove unnecessary variables. Add hasattr statement to check if browser session has user attribute. Add base template to all templates, include bootstrap for forms
Base template includes bootstrap
Removed hasattr from view_movies -- 'user' is a key, not attr
Working on add_or_update rating bug. ValueError on converting movie_id to int.
Error message: ValueError inserted as comment on line 88