Blocking password login and similar functionsg