Adding post on localhost and mobile