Finished error management of database transactions
Added transactions management to groups and group types database
operations
Added server certificate error management