A login system using node, mongoose and redis, jQuery and bootstrap