Spelling and grammatical corrections

line 918: I've inserted a comma (if-clause)
line 981: verbal construction ("to log out")