City gets involved with unsafe apartment building