Added login page and server side logic for the same.