adding purchase ability and tweaking user authentication