Removed vunerability in get_entry
Figured out session transactions to make tests that involve being logged in pass: