login  registration check added.