Create session and user module, install pg, implement vote method