bugfix in join, was keeping new users from logging in after signing up.
fixing logout
adding notes/messages buttons in header
only show notes/messages buttons when logged in
fixing a bug where if the dashboard is loaded multiple times from the same data, it is unable to decrypt. this was caused by the fact that keys are deleted from the key data passed to the decryption/find_keys process, meaning they could decrypt once but after that not so much. i now do a clone on the keys so any destructive operation doesnt hurt the original. works great, i think.
Merge branch 'master' into message
adding messages skeleton