use enum instead of marco and greeting function now only displays available command
exit is deleted