Finished Searching function
Fixed a login/logout bug
More?