added function for parsing url args and made index.html page dynamic based on whether the user is logged in or not