fix user redirect after sign in

Fixes #225