City accepts homeland security grant