SearchWindow remade
Handling different types of accounts