Recommended fixes

completed recommended fixes.  These should be done now, except for the users controller, which I'm a bit confused about what I should do with it.