fixed login warning and added search message