fix records#index view bugs
show prompt when checkin with no current event
added survey
use pg as db