added basic intracompany authentication options, changed some layout, added testing tools, improved data modelling