changed setUsername and getUsername to public.