Add logout link, consolidate vars

Signed-off-by: Adam Lord <adam.lord@gmail.com>