Authentication for accounts.

Apparently adding accounts to the before filter in pages doesn't cut it. May need to revisit this later.