Fixed date issues in server and background polling of server improved.