Made login look nicer with ajax.