Done pay view, add redirect to pb, add wrap logger , write excepts to file