Adds login page and login server code