log in check

Signed-off-by: Thejasvi Bhat <thejasvi@smashed.in>