redirect after login fix #20