try/except pattern for user create post method