alerting and redirecting users when unauthenticated and trying to access a page where they have no business. Fixes #48.