cleaned up greet code, dismissing keyboard