fixed bug with login / search