Added scala login template. Added login functionality in the application controller.