Created Controller and Model for Register. Also made some changes in View (register.php) file