Added properties to registerviewcontroller