updating fridge.js with login updates