fixed login menu, and update search redirect url. prepared select stmts. faster maps.