fix to days not being created when user hadn't logged in for more than a day