Redis logging function. Some javascript for handling signup form