updated authentication frontend