adding a check to only display footer if type is HTML
#20, Started to clean up the create user helper, because it fucks up Ambra