Added display appointment function

Also fixed appointment creation