made username attribute accessible