Added check for player rank - Closes #177