Spring-security-core plugin added and login logic implemented