use waffles in login.js