Init User related functions: implements UserDetailsService