Added a variable to store the random number in cardTemplate.js.  This should fix the bug where questions did not match answers.
Made the cardTemplate slightly more mobile friendly.  This still could use some work though.
Added some safety checks.  If the user tries to navigate to the profile or card template in the url it will redirect them (assuming they are not logged in) back to the sign in page.
Re-formatted the cardTemplate.js file to fit the new .js file formatting that we discussed in Trello.
Attempted to fix the "log out on refresh" bug.  The bug is still present.