more updates, and indentation improvements, everything works except the logged in page doesn't disply the users name or login count