take username as parameter