changed routing for logged in users to go back to their own page after submitting a link