implementation of change_owner option in home page