Implemented check to enforce sign-in

Signed-off-by: Phillipp Ohl <phillippohl@gmail.com>