Weekly calories

Detect the date the user signed in to know when to set daily intake back
to zero and add it to weekly calories

userIndex in during creation of user profile now uses the size of the
list and subtract by 1 instead of detecting with indexOf.