working validations for auth and space new