added registration feature