redirect after login fixed