removed the regex from url validation, added logging
fixed bug in login template