fixed admin access with postgress db