City of Gilmer receives $542,000 state housing grant