change in registration route to get rid of double login