added sorcery login logout with email validation