Simplify the home view by moving all the validation to another module