support for login, user dashboard and overlay in preview