Added register for account (member). Added some authentication and permission helpers.