added username column and index to users table