updated UI to have 3 view controllers