added login capability and a submit button.