Use built-in helpers for logging in and out
Add comments
Read passwords from POST object