Another typo
Typos
Missing a line
Fixed namespace issue
Fixing auth
Passport fixes
Post template typo
Fiddling with template.
Fixing conditional in template
More conditionals
Commented out button stuff temporarily.
Added conditional to button script to check if button exists first
Refactored button script to use classes.

Better abstraction, prevents having to do weird hacky things with IDs and checking if elements exist and so forth.
Template logic with user login
Removed username field from Ajax request for Edit and Delete scripts.

Trying to handle the conditional logic in the template to get the username was a pain, and it should work without it.
Removed all conditionals based on username from template.

Figuring out the logic around finding the username is taking too much time. For now, I'll just create the buttons and handle user verification on the backend, which I should be doing anyway.
Typo
jQuery tweak
Fix login/create new user code.
Login script