added client registration but without catching errors
added default empty constructor to client (hibernate demands it)