integrating passportjs-local

changes on member functions (login, logout, register, loggedin)
user_id is no longer required

after adding passportjs-local auth middleware, we are able to get
user_id from session object (req.user.result.user_id) instead of getting
it from route params (req.params)
securing the backend using passportjs-local
deleted unnecessary file
updating gitignore
updating footer view
login form - renaming model names