Added forms validation and other checks Fixes #10