Split utils functions, change /token to /sessions, delete /