Added user create template, tidied up verify code, adding thumbnail generation