Adding Resume function to UserProfile.java