major authentication fix