Implemented MVC on Login