Making a form to log in. urls ok.
Error display when user don't exist:done.
Password error working. But shows error even if password is correct.
Password authentication working using authenticate function!
db modified.