renamed MenuBar to MyMenuBar, added an additonal method to tempPanel
added submit button code and edited tempPanel