added simple registration page and some minor templates modifications