Some fixes

Generalized the "alert box": now it can be controlled from anywhere
Fixed hardcoded padding-top: 20px
Added maxlength attribute on inputs