OK so there is no isolation here, that is a big safety issue. This in not permitted in many places. When in use it must be doubly isolated, so that there is no way that anyone can access live parts.
In fact even working on such a system that is not isolated is illegal in the UK and EU under a safe working directive.
I am assuming that an Arduino takes no part in this system.