correct redirect after login

fixes #16