refactored from architects table to users table