Added new tests for authentication/authorisation -> Fixed bugs
Added new method getLastInsertId in database