Add user controller and improve testing of links.