private void storeLoginAttributes() { currentAccount = new UserAccount(firstName, lastName, username, password); String username = currentAccount.getUsername(); String welcomeName = currentAccount.getName(); String firstName = currentAccount.getFirstName(); String lastName = currentAccount.getLastName(); Attributes.storeAttribute(Attributes.WELCOME_NAME, welcomeName); Attributes.storeAttribute("firstName", firstName); Attributes.storeAttribute("lastName", lastName); Attributes.storeAttribute("username", username); AccountForm.changeAccountSettings(currentAccount); }