Preoloader for authentication