deleted unneeded image
Fixed Login controller and model to currectly validate users as well as register to the site.