Corrected a URL bug in redirect to homepage