Police to visit accused’s hometown in UP to check his criminal records