Changed root_path to /
Redirect_to to render
Fix
Fixed ENV