WIP; migrating rest controller to rest listeners. Part 1 is almost done; creating a password token. Still need to create a prepareviewmodel listener to remove the location in the header.