GET login is now returning 405 status code.

Problem is cherrypy.response.headers.status should be cherrypy.response.status .
Added web directory to the path mapping.

Since, we are to run main from just outside web, for the sake of Python packaging
rules.
Trying to integrate the login model with main.py.

Changed the login model function to login_check to avoid function namespace
collisions.

Can't test since the MySQL version at home is outdated and PLDT myDSL is too
drop dead slow to even update.