added name to registraion pages. redirect to login when permission not allowed, formatted homepage