brought naming in line with convention
added registration directive to support registration before login