login and kernel