Change url to fix error
Direct to /home
Updated version of code