Comment on sessionFactory where it is not in use
Privileges added to initializer for the user on DH level (technician) and some LOCs added into try and catch block to avoid thrown exceptions on dev mode