implmented post database