added post method to hide register info