added username attribute