changed login links to use reverse routing