added post handler containing if statement and instance variables.
added if statement for wrong username or password. added form helpers.