add spring security configuration and calendar api implementation