Made viewing story page load display error if not logged in
Moved first_words method to story
Fixed template nonexisting function
Fixed cursor.commit() to connection.commit()

For the FINAL time
Merge remote-tracking branch 'origin/master' into User