Adding spring security.
Partial Spring Securitz solution.