Dont use $location for redirects