added second repository, get and post implemented