text: module.exports.reqisterValidation = function(username, password){
    const errors = [];
  
    if(username === ""){
      errors.push({"message": "Please fill the username area"});
    }
  
    if(password === ""){
      errors.push({"message": "Please fill the password area"});
    }
  
    if(password.length < 6 ){
      errors.push({"message": "Password must be longer than 5 characters"});
    }
  
    return errors;
  }
  