set values of Hidden Input such as location, user id and user name
subtle code beutifying