change names of servlets and add code to login servlet.