Implemented basic authentication using Spring Security.
implemented LoginController.java (follow up fo prev. commit)