Added lock account to login / logout