Sourabh: added login and reg
Sourabh: added login and reg