first structure for generating user authentication system