added function get username