Fixed devise redirect to secure dashboard