Refactored and rewrote the nameID DB handling.
Added method for handling manage nameid request
Editorial