Fix bug: it can login and register

You should install express-partials and express-session modules to use partial and session.