Added user service implementation and some tests