Adding Custom UserDetailsService

I added a custom UserDetailsService (Spring's way of authenticating
users), a custom UserDetails class, and registered the service as a bean
in resources.groovy.