Fixes to sign in-out urls, layout, flashes