Log in only for granted permission