implemented main frontend validations
spelling corrected