Modified findUser implementation to use Hibernate's createQuery() method
instead of findByCritera().