Added all necessary changes for demo of registration and login