customize spring security contact sample, use jpa and tiles