adds github and fixes bug where users aren't logged out when browser closes during session