registration added and many other updates