Added user guide
fixed problems