[REFACTOR] Abstract nickname modal logic to be reuseable across multiple routes