improved client index and new views
fixing minor bugs