Text material and logout.

Added text materials creation, editing and display and also logout function.