Legacy branch v1.0

Includes fixes for TWBS2 login form.