added username to API