changed where userInterface is added to the frame