Added log-in page and fixed infinite text error