added user edit routes (post and get) and added optional trailing slash to all routes