User Login (1587)

- Modified login validation according to specifications.
- Adjustment on login validation function coding convention.