jquery couch hack for login