some functions like add essay, show essay,register,login, etc.