fix requirements for pg driver; replace signin template