Catch empty sessions and deny in register

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>