added errors validation on the client; displayed error message via Toaster