configured postgresql and added users models