added status codes
added login with maximum try counts
db prop revert
Merge pull request #2 from rexpie/trunk

add feature