Edit functions only visible to admins
interface improvements
Change to postgres for production