different way of creating User implemented