Moved password validation to login handler
Improved article php docs