changes to account function + changes to gui