added flash errors for ActiveRecord exceptions
added navbar for user who's logged in
center pie chart
added questions index view