added html file, fixed faulty login in roll function