added spring security stuff from samples