Fixes redirect after login