Add postgresql and psycopg2
Add database configuration to user settings