Spring Security features, added custom loginpage and mechanism, closes #36