add logic for errors and success in posts form partial