added wtforms and basic validation for login