added a message div
passing errors in other way
added messages for successfull creation