Added login page and did framework stuff