Login resource + debug variable