add deploy database configuration
add postgres adapter
change permission classes
add csrf to patch request