loctaion functionality and reporting to server added