Added js auth plugin