working on ajax auth. this code might have blog post in it. lord