Authentication and access control module. Includes account and admin functionality