Check to see if a user has used our app for more than 1 session to determine welcome message text
Check to see if the sessions array from the user has more than 1 element. If not, display "Welcome, <Username>" within the <h2> with a class "user-welcome". If the sessions array has more than 1 element (indicating that they are logging in on a new day), display "Welcome back, <Username>"
Check to see if a user has used our app for more than 1 session to determine welcome message text
"Welcome, <Username>"
within the<h2>
with a class"user-welcome"
. If the sessions array has more than 1 element (indicating that they are logging in on a new day), display"Welcome back, <Username>"