Changed database, model and implemented spring security UserDetailsService