Please extract a separate method for creating User from resultset