merged scaffold with authentication
Combined authentication with scaffold