added registration nd login code
added new code