Refactor user dropdown menu