Fixed wrong authentication