Don't update last_ip and last_login on *every* pageview

Should alleviate a lot of superfluous writes where they're not needed.