updated login configuration, created editmemory function