added db creating to before script. changed username to postgres