An example to demonstrate spring security by implementing UsersDetailsService