Redirect instead of ajax to dashboard