Changed the creation of the user service so that the connection is always retrieved from the form passed to each method