Added spring security for access control.