added reg form made nav work