Added functionality to servlets to allow a user to login