add gitignore and add @ViewScope to managedbean