Added hb functionality.

Signed-off-by: bplotka <bwplotka@gmail.com>
Added logout.

Signed-off-by: bplotka <bwplotka@gmail.com>
Updated db

Signed-off-by: bplotka <bwplotka@gmail.com>