Deploy

Backend has been rewritten, keeping only a small amount of previous code.
Addition of of js functions in server.js for handling users. Some code in ui.js to render name and image of user.

The backend can now save automatons both under a user or without one , supports sessions through google login, and has the api nessessary to handle basic user interactions for automata.

Things missing are:
The backend for deleting and modifying automata.
The UI for user to handle his automata.
I just followed guidelines from this previous code 

        def select(self, table, where={}, select=('*')):
        """Runs a SELECT query in this form:
            SELECT select FROM table
            WHERE i in where < %s"""
        sql = """SELECT %s FROM %s""" % (', '.join(select), table)
        if len(where) == 0:
            return self.query(sql, ())

        sql += """ WHERE"""
        data = []
        for w in where:
            sql += """ """ + str(w) + """ = %s"""
            data.append(where[w])
        return self.query(sql, tuple(data))

I was wondering too...