Added basic login page functionality. (controller,view,basic validation)