ENHANCEMENT: Redirect user to login on account pages.
Moved permission checks to init() so that user can be redirected to
login page when trying to view order details etc. when they are not
logged int.