Changed references of UserView to JFrame.