implemented username routing