prepare for search form
show event after current
added redirecting on not login