Redirect to home page on 404
Added validations to models