added username to device model