controller/ProfileManager.js
/**
 * Checks if the username is invalid
 * @param {string} username 
 * @returns if username is invalid
 */
Checks if the username is invalid
@param {string} username
@returns if username is invalid
Checks if the username is invalid @param { string } username @returns if username is invalid
function invalidUsername(username){
    if(username === "")
        return true;
    if(username.length < 0 || username.length > 13)
        return true;
    return false;
}
function invalidUsername ( username ) { if ( username === "" ) return true ; if ( username . length < 0 || username . length > 13 ) return true ; return false ; }
Checks if the username is invalid
 @param {string} username
 @returns if username is invalid
Checks if the username is invalid @param { string } username @returns if username is invalid